<!DOCTYPE html>
<html lang="en">
	<head>
		   
		<meta charset="UTF-8">
		   
		<meta http-equiv="X-UA-Compatible" content="IE=edge">
		   
		<meta name="viewport" content="width=device-width, initial-scale=1.0">
		    <title>Document</title>
		    <script src="https://cdnjs.cloudflare.com/ajax/libs/popper.js/1.14.6/umd/popper.min.js"></script>
		   
		<link rel="stylesheet" href="https://stackpath.bootstrapcdn.com/bootstrap/4.2.1/css/bootstrap.min.css">
		    <script src="https://code.jquery.com/jquery-3.3.1.slim.min.js"></script>
		    <script src="https://stackpath.bootstrapcdn.com/bootstrap/4.2.1/js/bootstrap.min.js"></script>
		    <style>
			.load-bar {
				border-radius: 12px;
				position: relative;
			}

			.progress-bar-striped {
				width: 0%;
				border-radius: inherit;
				position: relative;
				animation: loader 15s linear infinite;
			}

			@keyframes loader {
				form {
					width: 0%;
				}

				to {
					width: 100%;
				}
			}
		</style>
		    <script>
			$(function() {
				var interval = setInterval(increment, 150);
				var current = 0;

				function increment() {
					current++;
					$('#counter').html(current + '%');
					if (current == 100) {
						current = 0;
					}
				}
			});
		</script>
	</head>
	<body class="container">
		   <div  class="progress load-bar my-5" style="height:25px;">
			    <div class="progress-bar  progress-bar-striped text-center">
				        <span id="counter"></span>
				    </div>
			   </div><br>
	</body>
</html>
